package com.weitu.accidentEvent.accident.service;

import java.util.List;
import java.util.Map;

/**
 * Created by fanyuting on 2017/6/8 0008.
 */
public interface AccidentMonthReportService {
    public List<Map<String, Object>> queryMonthReport(Map<String, Object> map);

    /**
     * 验证是否重复月报
     *
     * @param map
     * @return
     */
    public boolean verifyMonthReport(Map<String, Object> map);

    /**
     * 添加数据
     *
     * @param map
     * @return
     */
    public boolean addInfo(Map<String, Object> map);

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */

    public Map<String, Object> queryInfoById(String id);

    /**
     * 修改审批状态
     *
     * @param appState
     * @param id
     * @return
     */
    public boolean editAppState(String id, String appState);
}
